<?php
include_once('common/header.php');
if($AppUI->id <= 0 || (isset($_SESSION['category']) && (($_SESSION['category']&1<<2) == 0))) {
	$this->_redirect(isset($_SESSION[SESSION_BACKURL]) ? $_SESSION[SESSION_BACKURL] : HOST_BACKEND);
}
$intCategoryId 			= $objRequest->getParam('categoryid', 0);
$objCategory			= new Category();
$arrRow					= $objCategory->get($intCategoryId);
$this->view->row		= $arrRow;
$this->view->back		= isset($_SESSION[SESSION_BACKURL]) ? $_SESSION[SESSION_BACKURL] : HOST_BACKEND;